const sqlite3 = require('sqlite3').verbose();
const db = new sqlite3.Database('./tang_poems.db');

console.log('检查赏析内容质量...\n');

db.all('SELECT title, author, appreciation FROM tang_poems LIMIT 5', (err, rows) => {
  if (err) {
    console.error('查询出错:', err);
  } else {
    rows.forEach((row, index) => {
      console.log(`${index + 1}. ${row.title} - ${row.author}`);
      console.log(`赏析: ${row.appreciation}`);
      console.log('---');
    });
  }
  
  db.close();
}); 